package com.ybbase.framework.model.po.flow;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * <p>
 * 节点动作对照表
 * </p>
 *
 * @author cg
 * @since 2019-12-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("act_node_action")
@ApiModel(value="NodeAction对象", description="节点动作对照表")
public class NodeAction extends Model<NodeAction> {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "唯一编码 : 唯一编码")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "动作代码 : 动作代码")
    private String actionCode;

    @ApiModelProperty(value = "节点编码 : 节点编码")
    private String nodeCode;

    @ApiModelProperty(value = "流程编码 : 流程编码")
    private String flowCode;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
